// ImageSprite.h
#pragma once
#include "Object.h"
#include "SmartPointer.h"
#include "Texture2DGL.h"

namespace ANvDbg
{
    class ImageSprite : public Object
    {
    public:
        ImageSprite();

    public:
        void Render();
        void Init(float x, float y, float width, float height);
        void FadeIn(float duration);
        void FadingIn();

    public:
        float m_vertex[12];
        SmartPoint<Texture2DGL> m_texture;
        bool m_is_fade_in_animation;
        float m_fade_in_duration;
        float m_alpha;
    };
}
